package observer;

public class TestDemo {
    public static void main(String[] args) {
        Subject subject = new Subject();
        new BinaryObserver(subject);
        subject.setState(100);
        subject.setState(200);
    }
}
